#ifndef MYTABLEWIDGET_H
#define MYTABLEWIDGET_H

#include <QTableWidget>
#include <QScrollBar>
#include <QMouseEvent>
#include <QHeaderView>
#include<QDebug>

//对QTableWidget进行了一些修改
class MyTableWidget : public QTableWidget {
public:
    MyTableWidget(QWidget* parent = nullptr);

protected:
    void resizeEvent(QResizeEvent* event) override;
    //void mousePressEvent(QMouseEvent* event) override;
};

#endif // MYTABLEWIDGET_H
